using B.S.BaseData.ErrorCode;
using MediatR;
using WorkOrder.Domain;
namespace B.S.BaseData.Api.Read.Command.OrderCommand
{
    /// <summary>
    /// 退款申请查询命令
    /// </summary>
    public class RefundApplicationQueryCommand : IRequest<APIResult<ApiPaging<RefundApplication>>>
    {
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? Begin { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? End { get; set; }

        /// <summary>
        /// 申请状态（待处理、已处理、已拒绝）
        /// </summary>
        public string? ApplicationStatus { get; set; }

        /// <summary>
        /// 搜索关键词（用户名或订单编号）
        /// </summary>
        public string? SearchKeyword { get; set; }

        /// <summary>
        /// 页码（从1开始）
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页大小
        /// </summary>
        public int PageSize { get; set; } = 10;
    }
} 